home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SunSoft Catalyst CDWARE 1996 May to August
/
Catalyst CDWARE 1996 May to August.iso
/
.products
/
.bin
/
httpd
/
Solaris_2
/
run.old
< prev
next >
Wrap
Text File
|
1995-06-29
|
578b
|
24 lines
#!/tmp/httpd/bin/perl -- -*-perl-*-
$ROOT = $ENV{'DOCUMENT_ROOT'};
$ENV{'OPENWINHOME'} = '/usr/openwin/';
$ENV{"LD_LIBRARY_PATH"} = '/usr/openwin/lib:/usr/lib:/usr/slib';
$ENV{"PATH"} = '.:/bin:/usr/bin:/usr/sbin:/usr/openwin/bin';
$ENV{"DISPLAY"} = "localhost:0.0";
while (@ARGV) {
$ARGV=shift;
$executable = $ARGV;
$ARGV=shift;
$company = $ARGV;
}
$COMPANY_DIR = "$ROOT/$company";
$ENV{"COMPANY_DIR"} = $COMPANY_DIR;
$ENV{"COMPANY_NAME"} = $company;
chdir ("$COMPANY_DIR");
system "./$executable&";
print "Location: http://localhost:7999/$company/index.html \n\n";
exit 0